package com.xhdx.ati.adau.test;
import org.activiti.engine.ProcessEngine;
import org.activiti.engine.ProcessEngineConfiguration;

public class ActivitiGeneratorDb {
	public  void testGenTable(){
        // 1: 通过资源文件创建 ProcessEngineConfiguration
        ProcessEngineConfiguration processEngineConfiguration =
                ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("activiti7xml");
        // 2: 通过ProcessEngineConfiguration 构建 ProcessEngine
        ProcessEngine processEngine = processEngineConfiguration.buildProcessEngine();
        System.out.println(processEngine);
    }
	public static void main(String []args){
		ActivitiGeneratorDb b = new ActivitiGeneratorDb();
		b.testGenTable();
	}
}
